package com.sunlg.smarthome.contract;

import com.sunlg.smarthome.base.IBasePresenter;
import com.sunlg.smarthome.base.IBaseView;
import com.sunlg.smarthome.data.entity.EnvirDevice;

import java.util.List;

/**
 * Created by sunlg on 2017/5/11.
 */

public interface EnvirDeviceContract {
    interface View extends IBaseView{
        void showNoneDeviceText();
        void hideNoneDeviceText();
        void showEnvirDeviceList(List<EnvirDevice> envirDeviceList);
    }

    interface Presenter extends IBasePresenter<View>{
        void deleteEnvirDevice(int deviceId);
        void loadAllEnvirDevice();
    }
}
